package cc.comac.mom.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value = "quality_pclr_test_invoice")
@Data
@EqualsAndHashCode(callSuper=true)
public class QualityPclrTestInvoiceEntity extends BaseResultEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@TableField(value="pclr_test_invoice_id")
	@TableId(value = "pclr_test_invoice_id",type=IdType.INPUT )
	private long   id;
	
	private String testType;
	private String testNo;
	private String qarNo;
	private String productModel;
	private String materialType;
	private String formType;
	private String status;
	private String prepareUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date testDate = null;
	private String testFile;
	private String department;
	private String phone;
	private String materialDetail;
	private String seller;
	private String orderNo;
	private BigDecimal lotSize;
	private String isConform;
	private String receiveUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date receiveDate;
	private String deliverUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date 	deliverDate = null;
	
	private String testClassify;
	private int isUrgent;
	private int isExtraUrgent;
	
	private String auditUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date auditDate = null;
	private String toFileUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date toFileDate = null; 
	private String testResult;
	private String approved;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date needCompleteDate = null; 
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;
	private String prepareUserJobNumber;
	private String receiveUserJobNumber;
	private String deliverUserJobNumber;
	private String auditUserJobNumber;
	private String toFileUserJobNumber;
	
	

}
